package org.komarichin.struts2.beans.models;

import java.io.Serializable;

/**
 * User: Mykhaylo Komarichyn
 * Date: 22.12.2009
 * Time: 15:00:52
 */
public class PageModel implements Serializable {
    private static final long serialVersionUID = -7952043792582250923L;

    private String name;
    private int start;
    private int limit;
    private boolean order;
    private String field;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public boolean isOrder() {
        return order;
    }

    public void setOrder(boolean order) {
        this.order = order;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }
}
